package com.kexun.task;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;


@Component
public class TimeTask {
    private final static Logger log = LoggerFactory.getLogger(TimeTask.class);


    @Async
    @Scheduled(cron = "0 0/2 * * * ?")
    public void start() {

    }


}
